#include "ListOfCourses.h"

int main()
{

	ListOfCourses list = ListOfCourses();

	//Adding courses...

	cout<<"Adding courses..."<<endl<<endl;

	cout<<list.insert("CompSCI", 23)<<endl;
	cout<<list.insert("Maths", 27)<<endl;
	cout<<list.insert("English", 13)<<endl;
	cout<<list.insert("French", 54)<<endl;
	cout<<list.insert("Media", 2)<<endl;

	cout<<"Displaying list..."<<endl<<endl;

	list.display();

	cout<<"Removing the most recent course..."<<endl<<endl;

	list.removeRecentCourse();

	list.display();

	cout<<"Removing the course at position 3..."<<endl<<endl;

	list.removeCourseAt(3);

	list.display();


	system("pause");

	return 0;
}